package com.kim.receiver.server;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Project: kim-distributed-transaction
 * @PackageName: com.kim.receiver.server
 * @FileName: OrderReceiverApplication.java
 * @Description: The OrderReceiverApplication is...
 * @Author: kimwu
 * @Time: 2020-12-29 09:34:10
 */
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
@EnableDistributedTransaction //分布式事务
@MapperScan("com.kim.receiver.server.mapper")
public class OrderReceiverApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderReceiverApplication.class, args);
    }
}
